package cn.cyb.server.domain.entity;

import cn.cyb.server.domain.BaseEntity;
import lombok.Data;

import java.util.Set;

/**
 * 数据库sys_user表对应的entity对象
 */
@Data
public class SysUser extends BaseEntity {

    private long userId;

    private String userName;
    private String nickName;
    private String password;
    private String salt;

    private Set<String> roles;
}
